﻿@{
    Layout = "~/Views/Shared/_Layout.cshtml";
    if (!User.Identity.Name.Equals(""))
    {
        if (!Membership.GetUser(User.Identity.Name).IsApproved)
        {
            FormsAuthentication.SignOut();
            
        }
    }
}